﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FollowMe.Model
{
    public static class NewMemberFactory
    {
        public static Member createNewMember(Guid ID, String Email, String Username, String firstName, String lastname)
        {
            Member member = new Member
            {
                MemberId = ID,
                Email = Email,
                UserName = Email,
                FirstName = firstName,
                MiddleInitial = " ",
                LastName = lastname,
                WillShareLocation = false,
            };

            return member;
        }
    }
}
